package com.example.forum_system.model;

import lombok.Data;

import java.util.Date;

/**
 * @Author : 游在海里的鱼
 * @CreateTime : 2023-11-12  23:38
 * @Version : 1.0
 * @Description : 文章类
 */
@Data
public class Article {
    //文章id
    private Long id;
    //所处板块id
    private Long boardId;
    //所属用户id
    private Long userId;
    //标题
    private String title;
    //正文
    private String content;
    //访问量
    private Integer visitCount;
    //点赞数
    private Integer likeCount;
    //创建时间
    private Date createTime;
    //修改时间
    private Date updateTime;
    //状态码
    private Byte state;
    //删除状态码
    private Byte deleteState;


}